<template>
  <div class="dt-toolbar">
    <!-- 工具栏 -->
    <!-- 风险分布 -->
    <EnvironmentalControl v-if="showAlarmTool">
      <!-- <p>时间选择</p>
      <el-radio-group v-model="timeRadio">
        <el-radio :label="1">实时数据</el-radio>
        <el-radio :label="2">历史数据</el-radio>
      </el-radio-group>
      <p>轨道面选择</p>
      <el-radio-group v-model="orbitalRadio">
        <el-radio :label="1">GEO轨道面</el-radio>
        <el-radio :label="2">1100km轨道面</el-radio>
        <el-radio :label="3">508km轨道面</el-radio>
      </el-radio-group>-->
      <p>风险种类选择</p>
      <el-radio-group v-model="shellRadio" @change="changeType" class="environment-danger">
        <el-radio :label="0">无</el-radio>
        <el-radio :label="1">深层充放电风险</el-radio>
        <el-radio :label="2">单粒子效应风险</el-radio>
      </el-radio-group>
    </EnvironmentalControl>
    <!-- 三维分析 -->

    <AnalysisPot @setDialogText="setDialogTextFromChild"></AnalysisPot>
    <!-- 标绘工具 -->
    <plot></plot>
    <!-- <el-button
      size="mini"
       
      plain
      round
      @click="toolVisible.militaryPlot = !toolVisible.militaryPlot"
    >标绘工具</el-button>-->
    <!-- <el-button
      size="mini"
       
      plain
      round
      @click="toolVisible.assistTool = !toolVisible.assistTool"
    >显示控制</el-button>-->
    <!-- 显示控制 -->
    <auxiliary></auxiliary>

    <!-- 显示控制 -->
    <!-- <auxiliary class="auxiliary-box" v-show="toolVisible.assistTool"></auxiliary> -->

    <el-dialog width="15%" center :visible="dialog.visible" :modal="false">
      <div slot="title" class="head-title" :style="{color: 'black'}">
        <span>测量结果</span>
      </div>
      <span>{{dialog.text}}</span>
      <span slot="footer">
        <el-button   @click="dialog.visible = false">确定</el-button>
      </span>
    </el-dialog>
  </div>
</template>
<script src="./index.js"></script>

<style lang="scss" src="./index.scss" scoped></style>